import React from 'react';
import ReactDOM from 'react-dom';
import RouterDispatch from './RouterDispatch';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'font-awesome/css/font-awesome.min.css';
import '@share/shareui-html';
import '@share/shareui-font/dist/style.css';
import 'art-template';
import '@share/ulynlist/ulynlist';
import '@share/ulynlist/ulynlist.table';
import '@share/ulynlist/ulynlist.pagebar';
import '@share/ulynlist-ext';
import {Route,HashRouter} from 'react-router-dom';
/*渲染组件
* 注意，原生 HTML 元素名以小写字母开头，而自定义的 React 类名以大写字母开头，
* 比如 App 不能写成 App。除此之外还需要注意组件类只能包
* 含一个顶层标签，否则也会报错。*/
ReactDOM.render((
    <HashRouter>
        <div>
            <Route path="/" component={RouterDispatch}/>
        </div>
    </HashRouter>
), document.getElementById('root'));


